﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PineLake.Drmwe.Tickets.Jwt.Model
{
    /// <summary>
    /// 令牌参数
    /// </summary>
    public class TokenParam
    {
        /// <summary>
        /// Id
        /// </summary>
        public string? TicketId { get; set; }
        /// <summary>
        /// 角色组
        /// </summary>
        public string? Group { get; set; }
        /// <summary>
        /// 版本
        /// </summary>
        public string Version { get; set; } = "V3.0";

        /// <summary>
        /// 过期时间.天
        /// </summary>
        public int ExpiresTimeByDay { get; set; }

        /// <summary>
        /// Token时间
        /// </summary>
        public DateTime DateTimes { get; set; } = DateTime.Now;
    }
}
